package org.sy.lab.Java7并发编程实战.一线程管理.五线程的休眠和恢复;

import java.util.concurrent.TimeUnit;

public class FileMain {
	public static void main(String[] args) {
		FileClock clock = new FileClock();
		Thread thread = new Thread(clock);
		thread.start();
		try {
			TimeUnit.SECONDS.sleep(5);
		} catch (InterruptedException e) {
			e.printStackTrace();
		}
		thread.interrupt();
	}
}
